package com.lex.jfb;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;

public class JFB_ZhuYeMianActivity extends AppCompatActivity {
    private Button kaluli,hefeng,wallet_btn;
    private LinearLayout points,coupon;
    private ImageView person;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_jifenduihuan_liebiao);
        findView();
        initView();
    }
    protected void findView(){
        kaluli = (Button) findViewById(R.id.kaluli);
        hefeng = (Button) findViewById(R.id.hefeng);
        wallet_btn = (Button) findViewById(R.id.wallet_btn);
        points = (LinearLayout) findViewById(R.id.points);
        coupon = (LinearLayout) findViewById(R.id.coupon);
        person = (ImageView) findViewById(R.id.person);
    }
    protected void initView(){
        kaluli.setOnClickListener(new View.OnClickListener(){
            public void onClick(View view){
                startActivity(new Intent(JFB_ZhuYeMianActivity.this,ShiYong_YHQActivity.class));
            }
        });
        hefeng.setOnClickListener(new View.OnClickListener(){
            public void onClick(View view){
                startActivity(new Intent(JFB_ZhuYeMianActivity.this,ShiYong_YHQActivity.class));
            }
        });
        wallet_btn.setOnClickListener(new View.OnClickListener(){
            public void onClick(View view){
                startActivity(new Intent(JFB_ZhuYeMianActivity.this,YouHuiQ_XQActivity.class));
            }
        });
        points.setOnClickListener(new View.OnClickListener(){
            public void onClick(View view){
                startActivity(new Intent(JFB_ZhuYeMianActivity.this,SaoMa_JiFenActivity.class));
            }
        });
        coupon.setOnClickListener(new View.OnClickListener(){
            public void onClick(View view){
                startActivity(new Intent(JFB_ZhuYeMianActivity.this,YouHuiQ_XQActivity.class));
            }
        });
        person.setOnClickListener(new View.OnClickListener(){
            public void onClick(View view){
                startActivity(new Intent(JFB_ZhuYeMianActivity.this,Vip_InfoActivity.class));
            }
        });
    }
}
